function tmp=gdamapping(T,L,dataGDA,a,sigma)

% Gaston Baudat & Fatiha Anouar / 21st October 2000 / Exton PA 19341 USA
% Designed under MatLab for Windows version 5.2.0.3084


tmp=length(dataGDA.norAlpha(1,:));
if (length(a)>2)||(isempty(a))
	fprintf('Axes selection error, must be one or two axes only\n')   
elseif length(a)==1
   if (a(1)>0)&&(a(1)<=tmp)
      tmp=spreadGDA(T,L,dataGDA,sigma);
   else
      fprintf('Axes selection error, invalid axis reference\n')
   end   
elseif ((a(1)>0)&&(a(1)<=tmp))&&((a(2)>0)&&(a(2)<=tmp))
   tmp=spreadGDA(T,L,dataGDA,sigma);
else
         fprintf('Axes selection error, invalid axis reference\n')
end
